package com.yunyao.dao.service.bamu;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunyao.dao.model.BamuMaterial;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 材料信息 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IBamuMaterialService extends IService<BamuMaterial> {
    /**
     * * 分页查询
     * @param pageIndex
     * @param pageSize
     * @param materialCode
     * @param materialName
     * @param materialSpecifications
     * @param materialCategoryId
     * @return
     */
    IPage<BamuMaterial> pageList(Long pageIndex, Long pageSize, String materialCode, String materialName, String materialSpecifications, String materialCategoryId);

    BamuMaterial getByNameAndSpecs(String materialName, String materialSpecs);
}
